package com.gao.orange.config;


import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName NacosConfig.java
 * @Description <p>nacos 的配置类</p>
 * @createTime 2021-03-08 11:36:00
 */
@Configuration
@RefreshScope
@Getter
public class NacosConfig {

    @Value(value = "${school.location}")
    private String serverName;
}
